package com.yxq.mdt.app.utils;

import com.yxq.mdt.app.base.RespBase;
import com.yxq.mdt.app.modules.order.bean.UploadImageResultBean;
import com.yxq.mdt.app.net.API;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.PartMap;

public interface ApiService {

    @Multipart
    @POST(API.HOST_BASE_URL + "api/default/upload-image")
    Observable<RespBase<UploadImageResultBean>> uploadImages(@PartMap() Map<String, RequestBody> map);

}